import React, { useContext, useEffect, useRef, useState } from 'react';
import { Button, Form, Input, Popconfirm, Table } from 'antd';
import  styles  from './index.less'


const App = () => {
  const [form] = Form.useForm();
  const EditableContext = React.createContext(null);

const submit=()=>{
   console.log('ssss-',form.getFieldsValue());
}

  return (
    <div>
        <Button onClick={submit}>首页</Button>
    </div>
  );
};
export default App;